export default routesConfig;

const path = './app/views/';

function routesConfig($stateProvider, $urlRouterProvider, $locationProvider) {
  $locationProvider.html5Mode(true).hashPrefix('!');
  $urlRouterProvider.otherwise('/home');

  $stateProvider
	.state('home', {
		name: 'home',
		url: '/home',
		templateUrl: path + 'home.html'
	})
	.state('contact', {
		name: 'contact',
		url: '/contact',
		templateUrl: path + 'contact.html'
	});
}
